package com.itheima.thread.api.demo04;

public class MyThreadDemo04 {

    public static void main(String[] args) {

        MyThread t1 = new MyThread();
        MyThread t2 = new MyThread();

        t1.setName("A");
        t1.setName("B");

        t1.start();
        t2.start();

    }
}
